package com.yhd.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yhd.entity.Article;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * @author yinhuidong
 * @createTime 2020-07-08-18:10
 */
@Repository
public interface ArticleMapper extends BaseMapper<Article> {
    public void deleteByCateId(Integer id);
    public Article getNextInfo(Map<String, Object> searchParam);
    public Article getPreInfo(Map<String, Object> searchParam);
}
